home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 58 / pcpp58a.iso / extras / quake 3 source / Q3A_ToolSource.exe / Main / TextureBar.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-02  |  1.9 KB  |  65 lines

  1. #if !defined(AFX_TEXTUREBAR_H__86220273_B656_11D1_B59F_00AA00A410FC__INCLUDED_)
  2. #define AFX_TEXTUREBAR_H__86220273_B656_11D1_B59F_00AA00A410FC__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // TextureBar.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CTextureBar dialog
  12.  
  13. class CTextureBar : public CDialogBar
  14. {
  15. // Construction
  16. public:
  17.     void GetSurfaceAttributes();
  18.     void SetSurfaceAttributes();
  19.     CTextureBar();
  20.  
  21. // Dialog Data
  22.     //{{AFX_DATA(CTextureBar)
  23.     enum { IDD = IDD_TEXTUREBAR };
  24.     CSpinButtonCtrl    m_spinRotate;
  25.     CSpinButtonCtrl    m_spinVScale;
  26.     CSpinButtonCtrl    m_spinVShift;
  27.     CSpinButtonCtrl    m_spinHScale;
  28.     CSpinButtonCtrl    m_spinHShift;
  29.     int    m_nHShift;
  30.     int    m_nHScale;
  31.     int    m_nRotate;
  32.     int    m_nVShift;
  33.     int    m_nVScale;
  34.     int        m_nRotateAmt;
  35.     //}}AFX_DATA
  36.  
  37.  
  38. // Overrides
  39.     // ClassWizard generated virtual function overrides
  40.     //{{AFX_VIRTUAL(CTextureBar)
  41.     protected:
  42.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  43.     //}}AFX_VIRTUAL
  44.  
  45. // Implementation
  46. protected:
  47.     // Generated message map functions
  48.     //{{AFX_MSG(CTextureBar)
  49.     afx_msg void OnDeltaposSpinHshift(NMHDR* pNMHDR, LRESULT* pResult);
  50.     afx_msg void OnDeltaposSpinVshift(NMHDR* pNMHDR, LRESULT* pResult);
  51.     afx_msg void OnDeltaposSpinHScale(NMHDR* pNMHDR, LRESULT* pResult);
  52.     afx_msg void OnDeltaposSpinVScale(NMHDR* pNMHDR, LRESULT* pResult);
  53.     afx_msg void OnDeltaposSpinRotate(NMHDR* pNMHDR, LRESULT* pResult);
  54.     afx_msg void OnSelectionPrint();
  55.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  56.     afx_msg void OnBtnApplytexturestuff();
  57.     //}}AFX_MSG
  58.     DECLARE_MESSAGE_MAP()
  59. };
  60.  
  61. //{{AFX_INSERT_LOCATION}}
  62. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  63.  
  64. #endif // !defined(AFX_TEXTUREBAR_H__86220273_B656_11D1_B59F_00AA00A410FC__INCLUDED_)
  65.